package labb3;

import java.util.ArrayList;

/**
 * @author Mikko Puustinen
 * @version 0.1, 2007-okt-14
 */
public interface ChangeListener {
    /**
     * When there has been changes (added/removed object) in the list.
     *
     * @param mediaList ArrayList containing Media object that the listener can
     *                  use to updates its list.
     */
    public void notifyListChange(ArrayList<Media> mediaList);

    /**
     * Updates made to the list (objects changed).
     */
    public void notifyListUpdate();
}
